package com.powernode.service;

import com.github.pagehelper.PageInfo;
import com.powernode.domain.User;
import com.powernode.dto.UserDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {
    User login(String username, String md5);

    int insertSelective(User record);

    int updateByPrimaryKeySelective(User record);

    PageInfo<User> queryAllUser(UserDto userDto);

    List<User> queryAllAvailableUser();
}
